package com.ruoyi.info.mapper;

import com.ruoyi.info.domain.VinfoCountOrder;
import com.ruoyi.info.domain.vo.VinfoCountDaily;
import com.ruoyi.info.domain.vo.VinfoCountMonth;
import com.ruoyi.info.domain.vo.VinfoCountOrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

@Mapper
public interface VinfoCountOrderMapper {

    List<VinfoCountOrder> selectList(VinfoCountOrderVo vinfoCountOrderVo);

    Long selectTotal(VinfoCountOrderVo vinfoCountOrderVo);

    Integer insert(List<VinfoCountOrder> vinfoCountOrderList);

    void delete(@Param("beginTime") Date beginTime,@Param("endTime") Date endTime,@Param("carNo") String carNo);

    List<VinfoCountOrder> selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("start") Long page, @Param("limit") Integer limit,@Param("list") List<String> list);

    Long selectTotalByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("list") List<String> carNoList);

    List<VinfoCountMonth> selectCountMonth(@Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("start") Long page, @Param("limit") Integer limit, @Param("list") List<String> list);

    List<VinfoCountDaily> selectCountDaily(@Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("start") Long page, @Param("limit") Integer limit, @Param("list") List<String> list);


}
